package com.crm.service.impl.sys;

import com.crm.dao.mapper.sys.UpdatePswMapper;
import com.crm.model.entity.sys.UpdatePsw;
import com.crm.service.sys.UpdatePswDbService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @Author renshaorong
 * @Date 2021/7/22
 */
@Service
public class UpdatePswDbServiceImpl implements UpdatePswDbService {
    @Autowired
    private UpdatePswMapper updatePswMapper;

    @Override
    public boolean insert(UpdatePsw updatePsw){
        return updatePswMapper.insert(updatePsw) > 0;
    }
}
